<?php require_once('Connections/agriculture.php'); ?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php
mysql_select_db($database_agriculture, $agriculture);
$query_marqueeNewsRecordset1 = "SELECT * FROM  `news` LIMIT 0 , 100";
$marqueeNewsRecordset1 = mysql_query($query_marqueeNewsRecordset1, $agriculture) or die(mysql_error());
$row_marqueeNewsRecordset1 = mysql_fetch_assoc($marqueeNewsRecordset1);
$totalRows_marqueeNewsRecordset1 = mysql_num_rows($marqueeNewsRecordset1);
?>

<marquee direction="up" scrollamount="2" onMouseOver="this.stop()" onMouseOut="this.start()" >
<table width="100%" height="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#000000">

<?php

do{
?>
  <tr>
    <td align="center" bgcolor="#FFFFFF"><a title="<?php echo $row_marqueeNewsRecordset1['news_content']; ?>" href="xxxx.php?id=<?php echo $row_marqueeNewsRecordset1['news_id']; ?>"><?php echo $row_marqueeNewsRecordset1['news_title']; ?></a></td>
  </tr>
  <?php
  }while ($row_marqueeNewsRecordset1 = mysql_fetch_assoc($marqueeNewsRecordset1));
  ?>
</table>
</marquee>
<?php
mysql_free_result($marqueeNewsRecordset1);
?>
